package com.study.sms.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * SMS短信 配置属性
 *
 * @author Lion Li
 * @version 4.2.0
 */
@Data
@Component
@Configuration
@ConfigurationProperties(prefix = "sms")
public class SmsProperties {

    /**
     * 是否开启 sms
     */
    private Boolean enabled;

    /**
     * 短信签名
     */
    private String signName;

    /**
     * key
     */
    private String accessKeyId;

    /**
     * 密匙
     */
    private String accessKeySecret;

}
